<!DOCTYPE html>
<html>

	<head>
		<script type="text/javascript" src="../../js/public/init.js"></script>
		<script type="text/javascript" src="../../js/public/IP.js"></script>
		<script type="text/javascript" src="../../js/public/jquery.min.js"></script>
		<script type="text/javascript" src="../../js/public/jquery.easyui.min.js"></script>

		<script type="text/ecmascript" src="../../js/public/jquery.jqGrid.min.js"></script>
		<!-- This is the localization file of the grid controlling messages, labels, etc.
    	<!-- We support more than 40 localizations -->
		<script type="text/ecmascript" src="../../js/public/grid.locale-en.js"></script>
		<script type="text/ecmascript" src="../../js/public/easyui-lang-zh_CN.js"></script>
		<script type="text/javascript" src="../../js/public/verify.js"></script>
		<script type="text/javascript" src="../../js/taskManage/paraftpupload.js"></script>
		<meta charset="utf-8" />
		<title>ftp上传测试参数设置</title>
		<style type="text/css">
			* {
				font: 12px "宋体";
				margin: 0;
			}
			
			input {
				width: 120px;
			}
			
			/*#detail {
				margin: 0 auto;
				width: 100%;
				height: 100%;
			}
			
			#gridtable {
				position: absolute;
				left: 20px;
				top: 155px;
			}
			*/
			#formBox {
				padding-left: 20px;
				width: 1100px;
			}
		</style>
	</head>

	<body>

		<div id="detail">
			<div id="save">
				<a href="javascript:void(0)" class="icon-save" onclick="javascript:SaveRow()"></a>
			</div>
			<div id="panel1">
				<div class="easyui-panel" title="ftp上传测试参数设置" data-options="tools:'#save'" ;></div>
			</div>
			<div id="formBox">
				<form id="paraFtpUpForm" method="post">
					<input type="hidden" name="id" id="id"></input>
					<input type="hidden" name="testtype" id="testtype"></input>
					<table cellpadding="5">
						<tr>
							<td>单次测试超时(s):</td>
							<td>
								<input class="easyui-textbox" type="text" name="timeout" id="timeout" data-options="required:true,validType:'integer'"></input>
							</td>
							<td>目标地址:</td>
							<td>
								<input class="easyui-textbox" name="destination" id="destination" data-options="required:true" type="text"></input>
							</td>

							<td>端口:</td>
							<td>
								<input class="easyui-textbox" name="port" id="port" data-options="validType:'integer',required:true"></input>
							</td>

							<td>路径:</td>
							<td>
								<input class="easyui-textbox" name="path" id="path" data-options="required:true"></input>
							</td>

							<td>存储标志:</td>
							<td>
								<input class="easyui-textbox" name="storefileflag" id="storefileflag" data-options="required:true"></input>
							</td>
						</tr>
						<tr>
							<td>本地标志:</td>
							<td>
								<input class="easyui-textbox" name="localactiveflag" id="localactiveflag" data-options="required:true"></input>
							</td>
							<td>用户:</td>
							<td>
								<input class="easyui-textbox" name="user" id="user" data-options="required:true"></input>
							</td>

							<td>本地随机文件:</td>
							<td>
								<input class="easyui-numberspinner" name="uploadrandomlocalfile" id="uploadrandomlocalfile" data-options="increment:1,required:true"></input>
							</td>

							<td>开始时间:</td>
							<td>
								<input class="easyui-timespinner" name="startTime" id="startTime" data-options="required:true"></input>
							</td>

							<td>结束时间:</td>
							<td>
								<input class="easyui-timespinner" name="endTime" id="endTime" data-options="required:true"></input>
							</td>
						</tr>
					</table>
				</form>
			</div>
			<div id="tt">
				<a href="javascript:void(0)" class="icon-add" onclick="javascript:AddRow()"></a>
				<a href="javascript:void(0)" class="icon-edit" onclick="javascript:EditRow()"></a>
				<a href="javascript:void(0)" class="icon-cut" onclick="javascript:DeleteRow()"></a>
				<a href="javascript:void(0)" class="icon-print" onclick="javascript:ExportFile()"></a>
			</div>
			<div id="panel">
				<div class="easyui-panel" title="ftp上传测试参数表" data-options="tools:'#tt'" fit="true">
				</div>
			</div>
			<iframe id="HideFrm" style="display: none"></iframe>
			<div id="gridtable">
				<table id="paraFtpUp"></table>
				<div id="paraFtpUpPager"></div>
			</div>
		</div>
	</body>

</html>